(vc-git-print-log): Use "tformat:" for shortlog, instead of "format:"
authorMiles Bader <miles@gnu.org>
Tue, 9 Mar 2010 13:24:44 +0000 (22:24 +0900)
committerMiles Bader <miles@gnu.org>
Tue, 9 Mar 2010 13:24:44 +0000 (22:24 +0900)
This ensures that the output is newline-terminated.

lisp/ChangeLog
lisp/vc-git.el

index 8badbff412b45851cd11a6f02d18b0827a4691ef..ebeef26c73692faf4bdb8bf1711a50e1144a1fdc 100644 (file)
@@ -1,3 +1,9 @@
+2010-03-09  Miles Bader  <Miles Bader <miles@gnu.org>>
+
+       * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
+       instead of "format:"; this ensures that the output is
+       newline-terminated.
+
 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
 
        * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
index 9362ad743eeeb60b5a852e21ecf47caad10ef4a9..8799e15305f07746945e14c6820aae5f8ae65cc1 100644 (file)
@@ -587,7 +587,7 @@ or an empty string if none."
                '("log" "--no-color")
                (when shortlog
                  '("--graph" "--decorate" "--date=short"
-                    "--pretty=format:%d%h  %ad  %s" "--abbrev-commit"))
+                    "--pretty=tformat:%d%h  %ad  %s" "--abbrev-commit"))
                (when limit (list "-n" (format "%s" limit)))
                (when start-revision (list start-revision))
                '("--")))))))